<!DOCTYPE html>
<html>
<head>
	<title>交易审核</title>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  	<script src="/common/css.js"></script>
  	<style> 
   		.white_content { display: none; position: absolute; top: 28%; left: 35%; width: 20%; height: 20%; padding: 16px; border: 16px solid #468ebc; background-color: white; z-index:99999; overflow: auto; } 
   </style> 
</head>
<body>
<div id="light" class="white_content">
    正在上传,请稍等....
</div>
<div id="rrapp" class="content" v-cloak>
	<div v-show="showList">
		<div class="grid-btn">
			<div class="form-group col-xs-3" style="padding-left:1px;">
				<div class="input-group">
					<input type="text" class="form-control" id="phone" name="phone" placeholder="手机号">
					<span class="input-group-addon" title="根据手机号搜索" style="cursor:pointer">
						<i class="fa fa-amazon bigger-110"></i>
					</span>
				</div>
			</div>
			
			<div class="form-group col-xs-4" style="padding-left: 1px;">
				<div class="input-group">
					<input type="text" class="form-control" id="filterTime" style="min-width: 256px;" readonly placeholder="查询时间">
					<span class="input-group-addon" title="清除" style="cursor:pointer" @click="trash">
						<i class="fa fa-trash-o bigger-110"></i>
					</span>
				</div>
			</div>
			
			<a v-if="hasPermission('ymbdetail:list')" class="btn btn-default" @click="query"><i class="fa fa-search"></i>&nbsp;查询</a>
		</div>
	    <table id="jqGrid"></table>
	    <div id="jqGridPager"></div>
    </div>
    
	<div v-show="!showList" class="panel panel-default">
		<div class="panel-heading">{{title}}</div>
		<form class="form-horizontal" role="form" style="width:90%; min-width: 600px;">
			<div class="form-group">
			   	<div class="col-sm-2 control-label">手机号(默认登录)</div>
			   	<div class="col-sm-10">
			   		<input type="hidden" class="form-control" v-model="dto.userName"/>
			      	<input type="text" class="form-control" v-model="dto.phone" placeholder="手机号(默认登录)"/>
			    </div>
			</div>
			<div class="form-group">
				<div class="col-sm-2 control-label"></div> 
				<input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
				&nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
			</div>
		</form>
	</div>

	<!-- 管理员审核 -->
	<div id="chargeLayer" style="display:none;" class="panel panel-default">
		<form class="form-horizontal">
			<div class="form-group">
					<div class="col-sm-2 control-label">帐户名</div>
					<div class="col-sm-10">
						<input  type="text" class="form-control" id="bankAccount"  readonly>
					</div>
			</div>
            <div class="form-group">
                <div class="col-sm-2 control-label">卡号</div>
                <div class="col-sm-10">
                    <input  type="text" class="form-control" id="bankNo"  readonly>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">开户行</div>
                <div class="col-sm-10">
                    <input  type="text" class="form-control" id="bankName"  readonly>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">开户支行</div>
                <div class="col-sm-10">
                    <input  type="text" class="form-control" id="bankBranch"  readonly>
                </div>
            </div>
				<div class="form-group">
					<div class="col-sm-2 control-label">操作</div>
					<label class="radio-inline">
						<input type="radio" name="type" v-model="dto.type" value="1"/> 通过
					</label>
					<label class="radio-inline">
						<input type="radio" name="type" v-model="dto.type" value="2"/> 不通过
					</label>
				</div>
				<div class="form-group">
					<div class="col-sm-2 control-label">原因</div>
					<div class="col-sm-10">
						<textarea class="form-control" rows="5" v-model="dto.description" placeholder="原因备注" style="resize: none;"></textarea>
					</div>
				</div>
		</form>
	</div>
</div>
<script src="/common/js.js"></script>
<script type="text/javascript">
	dynamicLoading.js(rootPath + "js/modules/business/ymbinfo/show.js", "utf-8");
</script>
</body>
</html>